package com.c.ctgproject.entity.guang

import java.io.Serializable

class PartHandlerListEntity {
    /**
     * msg :
     * data : {"total":1,"list":[{"orderId":1,"dismantleNo":"SJCJ-20210917-0001","dismantleMethod":1,"plainFinishTime":"2020-09-18 00:00:00","realFinishTime":null,"createTime":"2021-09-17 19:30:03","createPersonName":"广阿发","status":1}],"pageNum":1,"pageSize":20,"size":1,"startRow":1,"endRow":1,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     * status : 1
     */
    var msg: String? = null
    var data: DataBean? = null
    var isSuccess: Boolean? = null
    var status: Int? = null

    class DataBean : Serializable {
        /**
         * total : 1
         * list : [{"orderId":1,"dismantleNo":"SJCJ-20210917-0001","dismantleMethod":1,"plainFinishTime":"2020-09-18 00:00:00","realFinishTime":null,"createTime":"2021-09-17 19:30:03","createPersonName":"广阿发","status":1}]
         * pageNum : 1
         * pageSize : 20
         * size : 1
         * startRow : 1
         * endRow : 1
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total: Int? = null
        var pageNum: Int? = null
        var pageSize: Int? = null
        var size: Int? = null
        var startRow: Int? = null
        var endRow: Int? = null
        var pages: Int? = null
        var prePage: Int? = null
        var nextPage: Int? = null
        var isIsFirstPage: Boolean? = null
            private set
        var isIsLastPage: Boolean? = null
            private set
        var isHasPreviousPage: Boolean? = null
        var isHasNextPage: Boolean? = null
        var navigatePages: Int? = null
        var navigateFirstPage: Int? = null
        var navigateLastPage: Int? = null
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null
        fun setIsFirstPage(isFirstPage: Boolean?) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean?) {
            isIsLastPage = isLastPage
        }

        class ListBean : Serializable {
            /**
             * orderId : 1
             * dismantleNo : SJCJ-20210917-0001
             * dismantleMethod : 1
             * plainFinishTime : 2020-09-18 00:00:00
             * realFinishTime : null
             * createTime : 2021-09-17 19:30:03
             * createPersonName : 广阿发
             * status : 1
             */
            var orderId=-1
            var dismantleNo: String? = null
            var dismantleMethod: Int? = null
            var plainFinishTime: String? = null
            var realFinishTime: Any? = null
            var createTime: String? = null
            var createPersonName: String? = null
            var partsCodeList: List<String>? = null
            var status: Int? = null
            var isSelect=false
            val isRemove:Int?=null
        }
    }
}